﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineMovieTicket.Data.IRepository
{
    public interface ITransactionRepository 
    {
        List<Model.TransactionDetail> getMovieBookingDetail(int movieTimeTableId);

        void resetPendingBooking();

        void bookMovieTicket(Model.TransactionDetail transactionDetail);

        void updateTransactionTime(int transactionID);

        List<Model.TransactionDetail> getCinemasMovieDetail(Model.TransactionDetail movieDetail);

        List<Model.TransactionDetail> getUserTransactionDetail(Model.Customer customerDetail);

        List<Model.TransactionDetail> getCheckBookingByNric(String nric);

        List<Model.TransactionDetail> getCheckBookingByVerificationID(int verificationId);

        int getMaxTransactionNum();


        Model.TransactionDetail saveTransaction(int transactionId, String seatNum, String status, String uniqueId,int movieAssignId);


        Model.TransactionDetail getMovieDetail(int movieAssignmentID);

        Model.TransactionDetail getTransactionDetail(int transactionId);

        Model.TransactionDetail saveTransaction(int movieAssignId);
        

       
    }

}
